/**
 * Copyright (c) 2009, http://www.softwareinlife.com. All rights reserved.
 * 
 * Redistribution and use in source and binary forms, 
 * with or without modification, are permitted provided that 
 * the following conditions are met:
 * 
 * 1. Redistributions of source code must retain the above copyright notice, 
 *    this list of conditions and the following disclaimer.
 * 
 * 2. Redistributions in binary form must reproduce the above copyright notice, 
 *    this list of conditions and the following disclaimer in the documentation 
 *    and/or other materials provided with the distribution.
 * 
 * 3. Neither the name of the http://www.softwareinlife.com nor the names of its 
 *    contributors may be used to endorse or promote products derived from 
 *    this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE SOFTWAREINLIFE AND CONTRIBUTORS "AS IS" 
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 * ARE DISCLAIMED. 
 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package com.softwareinlife.vision.android.information.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Jang, Sun-Jin(jangsunjin@softwareinlife.com)
 * @date 2009. 9. 21.
 * 
 */
public class ScheduleModel implements Serializable {

	/**
	 * Serial Version UID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Schedule Title
	 */
	private String title = null;

	/**
	 * Repeate of Schedule
	 */
	private RepeatModel repeat = null;

	/**
	 * Description of Schedule
	 */
	private String desc = null;

	/**
	 * Date of Start
	 */
	private Date dateOfStart = null;

	/**
	 * Date of End
	 */
	private Date dateOfEnd = null;

	/**
	 * Location of Schedule
	 */
	private List<LocationModel> locations = null;

	/**
	 * Status of Schedule
	 */
	private int status = 0;

	/**
	 * Events of Schedule
	 */
	private List<EventModel> events = null;

	/**
	 * Constructor
	 */
	public ScheduleModel() {
		super();
	}

	/**
	 * Constructor
	 * 
	 * @param title
	 * @param repeat
	 * @param desc
	 * @param dateOfStart
	 * @param dateOfEnd
	 * @param locations
	 * @param status
	 * @param events
	 */
	public ScheduleModel(String title, RepeatModel repeat, String desc,
			Date dateOfStart, Date dateOfEnd, List<LocationModel> locations,
			int status, List<EventModel> events) {
		super();
		this.title = title;
		this.repeat = repeat;
		this.desc = desc;
		this.dateOfStart = dateOfStart;
		this.dateOfEnd = dateOfEnd;
		this.locations = locations;
		this.status = status;
		this.events = events;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the repeat
	 */
	public RepeatModel getRepeat() {
		return repeat;
	}

	/**
	 * @param repeat
	 *            the repeat to set
	 */
	public void setRepeat(RepeatModel repeat) {
		this.repeat = repeat;
	}

	/**
	 * @return the desc
	 */
	public String getDesc() {
		return desc;
	}

	/**
	 * @param desc
	 *            the desc to set
	 */
	public void setDesc(String desc) {
		this.desc = desc;
	}

	/**
	 * @return the dateOfStart
	 */
	public Date getDateOfStart() {
		return dateOfStart;
	}

	/**
	 * @param dateOfStart
	 *            the dateOfStart to set
	 */
	public void setDateOfStart(Date dateOfStart) {
		this.dateOfStart = dateOfStart;
	}

	/**
	 * @return the dateOfEnd
	 */
	public Date getDateOfEnd() {
		return dateOfEnd;
	}

	/**
	 * @param dateOfEnd
	 *            the dateOfEnd to set
	 */
	public void setDateOfEnd(Date dateOfEnd) {
		this.dateOfEnd = dateOfEnd;
	}

	/**
	 * @return the locations
	 */
	public List<LocationModel> getLocations() {
		return locations;
	}

	/**
	 * @param locations
	 *            the locations to set
	 */
	public void setLocations(List<LocationModel> locations) {
		this.locations = locations;
	}

	/**
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(int status) {
		this.status = status;
	}

	/**
	 * @return the events
	 */
	public List<EventModel> getEvents() {
		return events;
	}

	/**
	 * @param events
	 *            the events to set
	 */
	public void setEvents(List<EventModel> events) {
		this.events = events;
	}
}
